/*
 * comlan
 */

package com.promfy.net.apn;

public class Apn {
	private String name = "";
	private String mcc = "";
	private String mnc = "";
	private String apn = "";
	private String user = "";
	private String server = "";
	private String password = "";
	private String proxy = "";
	private String port = "";
	private String mmsproxy = "";
	private String mmsport = "";
	private String mmsc = "";
	private Integer authtype = -1;
	private String type = "";
	private Integer current = 1;
	
	public Apn(String name, String mcc, String mnc, String apn, String user, String server, String password, String proxy, String port, String mmsproxy, String mmsport,
			String mmsc, Integer authtype, String type, Integer current) {
		super();
		this.name = name;
		this.mcc = mcc;
		this.mnc = mnc;
		this.apn = apn;
		this.user = user;
		this.server = server;
		this.password = password;
		this.proxy = proxy;
		this.port = port;
		this.mmsproxy = mmsproxy;
		this.mmsport = mmsport;
		this.mmsc = mmsc;
		this.authtype = authtype;
		this.type = type;
		this.current = current;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMcc() {
		return mcc;
	}
	public void setMcc(String mcc) {
		this.mcc = mcc;
	}
	public String getMnc() {
		return mnc;
	}
	public void setMnc(String mnc) {
		this.mnc = mnc;
	}
	public String getApn() {
		return apn;
	}
	public void setApn(String apn) {
		this.apn = apn;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public String getServer() {
		return server;
	}
	public void setServer(String server) {
		this.server = server;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getProxy() {
		return proxy;
	}
	public void setProxy(String proxy) {
		this.proxy = proxy;
	}
	public String getPort() {
		return port;
	}
	public void setPort(String port) {
		this.port = port;
	}
	public String getMmsproxy() {
		return mmsproxy;
	}
	public void setMmsproxy(String mmsproxy) {
		this.mmsproxy = mmsproxy;
	}
	public String getMmsport() {
		return mmsport;
	}
	public void setMmsport(String mmsport) {
		this.mmsport = mmsport;
	}
	public String getMmsc() {
		return mmsc;
	}
	public void setMmsc(String mmsc) {
		this.mmsc = mmsc;
	}
	public Integer getAuthtype() {
		return authtype;
	}
	public void setAuthtype(Integer authtype) {
		this.authtype = authtype;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getCurrent() {
		return current;
	}
	public void setCurrent(Integer current) {
		this.current = current;
	}
	
	@Override
	public String toString() {
		
		return 
		"apn----------------------------------------" + "\n" +
		"name = " +  name + "\n" +
		"mcc = " + mcc  + "\n" +
		"mnc = " +  mnc + "\n" +
		"apn = " + apn  + "\n" +
		"user = " +  user + "\n" +
		"server = " + server  + "\n" +
		"password = " + password  + "\n" +
		"proxy = " + proxy  + "\n" +
		"port = " + port  + "\n" +
		"mmsproxy = " +  mmsproxy + "\n" +
		"mmsport = " + mmsport  + "\n" +
		"mmsc = " +  mmsc + "\n" +
		"authtype = " + authtype + "\n" +
		"type = " +  type + "\n" +
		"current = " +  current ;
	}
}
